package vista;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.WindowConstants;

import uk.co.mmscomputing.device.scanner.Scanner;

public class PanelGeneral extends JFrame{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JPanel jContentPane = null;
	
	
	public PanelGeneral() {
		super();
		initialize();
		
	}
	
	
	public void run(String arg0) {

		new PanelGeneral().setVisible(true);
	}
	
	
	
	private void initialize() {
		this.setSize(300, 120);
		this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
		this.setResizable(false);
		this.setContentPane(getJContentPane());
		this.setTitle("Scan");
		this.addWindowListener(new java.awt.event.WindowAdapter() {
			public void windowClosing(java.awt.event.WindowEvent e) {

			}
		});
	}
	
	
	private JPanel getJContentPane() {
		if (jContentPane == null) {
			jContentPane = new JPanel();
			jContentPane.setLayout(null);
			
		}
		return jContentPane;
	}
	
	
	
}
